#ifndef ADDDATABASEDIALOG_H
#define ADDDATABASEDIALOG_H
#include <QtGui>
#include <iostream>
using namespace std;

class AddDatabaseDialog : public QDialog
{
    Q_OBJECT
public:
    explicit AddDatabaseDialog(QWidget *parent = 0);
    QLabel* databaseNameLabel;
    QLineEdit* databaseNameEdit;
    QPushButton* okButton;
    QPushButton* cancelButton;
private slots:
    void enableOkButton(const QString& databaseName);

public:
    const QString getDatabaseName();
};

#endif // ADDDATABASEDIALOG_H
